package com.ruoyi.chengkao.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考生信息审核对象 ck_candidate_audit
 * 
 * @author xiaosong
 * @date 2025-03-15
 */
public class CkCandidateAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息审核表主键 */
    private Long id;

    /** 考生号，外键关联 tb_candidate(id_number)，且考试号（考生号）为唯一 */
    @Excel(name = "考生号，外键关联 tb_candidate(id_number)，且考试号", readConverterExp = "考=生号")
    private String candidateNumber;

    /** 审批状态，可为空 */
    @Excel(name = "审批状态，可为空")
    private String approvalStatus;

    /** 兼报标记（0：否，1：是），可为空 */
    @Excel(name = "兼报标记", readConverterExp = "0=：否，1：是")
    private Long dualReportFlag;

    /** 学历材料类型，外键关联 ck_education_proof(id)，可为空 */
    @Excel(name = "学历材料类型，外键关联 ck_education_proof(id)，可为空")
    private Long educationProofId;

    /** 学历材料延期状态，可为空 */
    @Excel(name = "学历材料延期状态，可为空")
    private String educationProofExtensionStatus;

    /** 学历材料提交状态，可为空 */
    @Excel(name = "学历材料提交状态，可为空")
    private String educationProofSubmissionStatus;

    /** 附件上传状态，可为空 */
    @Excel(name = "附件上传状态，可为空")
    private String attachmentUploadStatus;

    /** 变更状态，可为空 */
    @Excel(name = "变更状态，可为空")
    private String changeStatus;

    // 构造函数
    public CkCandidateAudit()
    {
        approvalStatus = "待审批";
        dualReportFlag = 0L;
        educationProofId = 1L;
        educationProofExtensionStatus = "未申请";
        educationProofSubmissionStatus = "未提交";
        attachmentUploadStatus = "未上传";
        changeStatus = "未变更";
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCandidateNumber(String candidateNumber) 
    {
        this.candidateNumber = candidateNumber;
    }

    public String getCandidateNumber() 
    {
        return candidateNumber;
    }
    public void setApprovalStatus(String approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalStatus() 
    {
        return approvalStatus;
    }
    public void setDualReportFlag(Long dualReportFlag) 
    {
        this.dualReportFlag = dualReportFlag;
    }

    public Long getDualReportFlag() 
    {
        return dualReportFlag;
    }
    public void setEducationProofId(Long educationProofId) 
    {
        this.educationProofId = educationProofId;
    }

    public Long getEducationProofId() 
    {
        return educationProofId;
    }
    public void setEducationProofExtensionStatus(String educationProofExtensionStatus) 
    {
        this.educationProofExtensionStatus = educationProofExtensionStatus;
    }

    public String getEducationProofExtensionStatus() 
    {
        return educationProofExtensionStatus;
    }
    public void setEducationProofSubmissionStatus(String educationProofSubmissionStatus) 
    {
        this.educationProofSubmissionStatus = educationProofSubmissionStatus;
    }

    public String getEducationProofSubmissionStatus() 
    {
        return educationProofSubmissionStatus;
    }
    public void setAttachmentUploadStatus(String attachmentUploadStatus) 
    {
        this.attachmentUploadStatus = attachmentUploadStatus;
    }

    public String getAttachmentUploadStatus() 
    {
        return attachmentUploadStatus;
    }
    public void setChangeStatus(String changeStatus) 
    {
        this.changeStatus = changeStatus;
    }

    public String getChangeStatus() 
    {
        return changeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("candidateNumber", getCandidateNumber())
            .append("approvalStatus", getApprovalStatus())
            .append("dualReportFlag", getDualReportFlag())
            .append("educationProofId", getEducationProofId())
            .append("educationProofExtensionStatus", getEducationProofExtensionStatus())
            .append("educationProofSubmissionStatus", getEducationProofSubmissionStatus())
            .append("attachmentUploadStatus", getAttachmentUploadStatus())
            .append("changeStatus", getChangeStatus())
            .toString();
    }
}
